package com.ymanage.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.ymanage.dao.PayOrderMapper;
import com.ymanage.entity.PayOrder;

/**
 * 
 * <p>Title:PayOrderService </p>
 * <p>Description:通用支付单的业务层 </p>
 * <p>Project:yumi </p>
 * @author alen
 * @Version 1.0
 * @date 2017年8月28日 下午6:45:57
 */
public class PayOrderService {

	@Autowired
	private PayOrderMapper payOrderMapper;
	
	/*增加支付单*/
	public void add(PayOrder payOrder){
		payOrderMapper.add(payOrder);
	}
	
	/*修改支付单*/
	public void update(PayOrder payOrder){
		payOrderMapper.update(payOrder);
	}
	
	/*查询支付单*/
	public List<PayOrder> list(PayOrder payOrder){
		return payOrderMapper.list(payOrder);
	}
	
}
